package com.mdsoft.group.core;

public class People {

	private int id;

	public People() {
	}
	public People(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return id + "";
	}
	
	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}else if (obj instanceof People) {
			return ((People)obj).getId() == id;
		}else {
			return false;
		}
		
	}
}
